# from server.pao_python.pao.data import process_db, dataframe_to_list, DataProcess
# import pandas as pd
# import uuid
# import datetime
# import re
# import pymongo
# import hashlib
# from enum import Enum
# from server.pao_python.pao.service.security.security_service import RoleService
# from server.pao_python.pao.service.security.security_utility import get_current_account_id
# from server.service.common import insert_data, find_data, update_data, delete_data, get_condition, get_info, get_cur_time, insert_many_data, date_str_to_date, get_string_time
# from server.service.buss_pub.bill_manage import BillManageService, TypeId, OperationType, Status
# from server.service.mongo_bill_service import MongoBillFilter
# from server.pao_python.pao.service.data.mongo_db import MongoService, MongoFilter, C, N, F, as_date
# from server.models.financial_manage import FinancialAccount
# from server.service.buss_mis.financial_account import FinancialAccountObject
# from server.service.buss_pub.import_excel import ImportExcelService
# from server.service.constant import AccountType, PayType, PayStatue, AccountStatus, plat_id


# import_excel_service = ImportExcelService(
#     "127.0.0.1", 27017, 'IEC', 'admin', '123456', '123456', None)

# import_excel_service.update_excel_worker([])

import jsonrpcclient

result = jsonrpcclient.request(
    'http://localhost:3100/remoteCall', 'ISubsidyAccountRechargService.recharg_subsidy_account'
    ,{'personnel_classification_id': ["1ca6d1ad-1c8f-11ea-9ea5-144f8a6221df"], 'amount': 333,'person_in_charge': "admin",'remark': "test"})
print(result.data.result)
# import_excel_service.bill_manage_service.add_bill( OperationType.add.value, TypeId.ptPermission.value, {
#     "id" : str(uuid.uuid1()), 
#     "role_id" : "8eaf3fba-e355-11e9-b97e-a0a4c57e9ebe", 
#     "function" : "新闻审核", 
#     "permission" : "编辑", 
#     "remarks" : "平台_超级管理员_编辑新闻管理", 
#     'is_allow_super_use':True,
#     'organization_id':'d77f4b50-e356-11e9-b454-a0a4c57e9ebe'
# }, 'PT_Permission')
